home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Linking & ODF Draw < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.2 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Linking & ODF Draw
  2. Sent:        6/3/96 9:41 AM
  3. Received:    6/3/96 9:51 AM
  4. From:        Mary Boetcher, mary_boetcher@quickmail.apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8.         Reply to:   RE>Linking & ODF Draw
  9.  
  10. >>my bewilderment comes in the assignment of 
  11. >>the indices for linking. I can not at all tell what values are 
  12. >>assigned to the shapes. It appears that when the part is internalized, 
  13. >>all the shapes get numbered from 1 to n. Then, if some shapes are 
  14. >>pasted in, they also get numbered from 1 to m. So, the end result is 
  15. >>a set of shapes numbered: 1..n, 1..m.
  16. When a part or selection is externalized, the shapes are numbered from 1 to n. Then when the part or selection is internalized, these indices are used by the linking internalization code to identify the shapes involved in links. After internalization the indices don't matter anymore. If the part/selection is externalized again, new indices are assigned.
  17.  
  18. So, basically, the shape indices are only valid in the context of a particular ODFDraw storage unit.
  19.  
  20. Mary Boetcher
  21. ODF Person
  22.